package start.aai.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName messages
 */

@Data
@TableName(value ="messages")
public class Messages {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 
     */
    private Integer conversationId;

    /**
     * 
     */
    private Object sender;

    /**
     * 
     */
    private String text;

    private String fileName;

    private String fileUrl;

    /**
     * 
     */
    private Date createdTime;
}